<?php
	if (isset($_GET['id']))
	{
		require "../require/ajax_require.php";
		$id = $_GET['id'];
		if (isset($_GET['nom']))
		{
			$nom = $_GET['nom'];
			changerNom($id, $nom);
		}
		
		if (isset($_GET['theme']))
		{
			$theme = $_GET['theme'];
			changerTheme($id, $theme);
		}
		if (isset($_GET['niveau']))
		{
			$niveau = $_GET['niveau'];
			changerNiveau($id, $niveau);
		}
		if (isset($_GET['description']))
		{
			$description = $_GET['description'];
			changerDescription($id, $description);
		}		
	}